/**
 *Copyright(c) HNA SYSTEMS Co., LTD
 *
 *@date 2009-12-4
 * 	
 *Original Author: 陈军(chjun)
 *
 *ChangeLog
 *
 */

package com.myway.dto.insurance;

import com.myway.dto.order.DTOPaxSegment;

import java.io.Serializable;

/**
 * 类名称：DTOInsurance
 * 类描述：保单dto
 * 创建时间：2016-5-11 下午3:54:39
 * @author jiangyang
 * @version V1.0
 */
public class DTOInsurance implements Serializable {
	private static final long serialVersionUID = 1964557295075580093L;
	private Long id;
	private DTOPaxSegment dtoPaxSegment;

	// 保费
	private double amount = 0.0;

	// 保单状态

	private String status;

	// 保险公司代码
	private String companyCode;

	// 保险公司名称
	private String companyName;

	// 保额
	private double insuranceRepay = 0.0;

	// 保险产品id
	private String insuranceProductId;

	// 保险产品名称
	private String insuranceProductName;

	// 产品代码
	private String productCode;

	// 旧保单号（升仓的时候，需要提供之前的旧订单号）

	private String formerOrderId;

	// 改签标识1|2|3，1 改期 2 升仓 3 升舱后改期或改期后升舱

	private String reissueFlag;

	// 备注（此处的备注应该是协议产品的备注）

	private String remark;

	// 受益人类型 1-父母 2-配偶 3-子女 4-法定 5-其他
	private String benefitorType;

	// 协议产品ID
	private String protocolId;

	// 协议产品名称
	private String protocolProductName;

	// 保单号码
	private String insuranceNo;

	// 新增渠道信息
	private String channel;
	// 新增保险类型
	private String insuranceType;

	/****** 为适应保险接口的变化添加以下4个字段 *********/
	// 系统内部保单号
	private String localInsuranceNo;
	// 支付平台（1：支付宝；2：易宝；3：财付通
	private String paymentPlatform;
	// 保单唯一序列码，32位UUID
	private String serialId;
	// 支付流水号（交易号）
	private String paymentTradeNo;
	
	private Long userId;
	private Long orderId;

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getInsuranceType() {
		return insuranceType;
	}

	public void setInsuranceType(String insuranceType) {
		this.insuranceType = insuranceType;
	}

	/**
	 * @return the insuranceNo
	 */
	public String getInsuranceNo() {
		return insuranceNo;
	}

	/**
	 * @param insuranceNo
	 *            the insuranceNo to set
	 */
	public void setInsuranceNo(String insuranceNo) {
		this.insuranceNo = insuranceNo;
	}

	/**
	 * @return the reissueFlag
	 */
	public String getReissueFlag() {
		return reissueFlag;
	}

	/**
	 * @param reissueFlag
	 *            the reissueFlag to set
	 */
	public void setReissueFlag(String reissueFlag) {
		this.reissueFlag = reissueFlag;
	}

	/**
	 * @return the benefitorType
	 */
	public String getBenefitorType() {
		return benefitorType;
	}

	/**
	 * @param benefitorType
	 *            the benefitorType to set
	 */
	public void setBenefitorType(String benefitorType) {
		this.benefitorType = benefitorType;
	}

	/**
	 * @return the protocolId
	 */
	public String getProtocolId() {
		return protocolId;
	}

	/**
	 * @param protocolId
	 *            the protocolId to set
	 */
	public void setProtocolId(String protocolId) {
		this.protocolId = protocolId;
	}

	/**
	 * @return the protocolProductName
	 */
	public String getProtocolProductName() {
		return protocolProductName;
	}

	/**
	 * @param protocolProductName
	 *            the protocolProductName to set
	 */
	public void setProtocolProductName(String protocolProductName) {
		this.protocolProductName = protocolProductName;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @return the dtoPaxSegment
	 */
	public DTOPaxSegment getDtoPaxSegment() {
		return dtoPaxSegment;
	}

	/**
	 * @param dtoPaxSegment
	 *            the dtoPaxSegment to set
	 */
	public void setDtoPaxSegment(DTOPaxSegment dtoPaxSegment) {
		this.dtoPaxSegment = dtoPaxSegment;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return the companyCode
	 */
	public String getCompanyCode() {
		return companyCode;
	}

	/**
	 * @param companyCode
	 *            the companyCode to set
	 */
	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	/**
	 * @return the companyName
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * @param companyName
	 *            the companyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * @return the amount
	 */
	public double getAmount() {
		return amount;
	}

	/**
	 * @param amount
	 *            the amount to set
	 */
	public void setAmount(double amount) {
		this.amount = amount;
	}

	/**
	 * @return the insuranceRepay
	 */
	public double getInsuranceRepay() {
		return insuranceRepay;
	}

	/**
	 * @param insuranceRepay
	 *            the insuranceRepay to set
	 */
	public void setInsuranceRepay(double insuranceRepay) {
		this.insuranceRepay = insuranceRepay;
	}

	/**
	 * @return the insuranceProductId
	 */
	public String getInsuranceProductId() {
		return insuranceProductId;
	}

	/**
	 * @param insuranceProductId
	 *            the insuranceProductId to set
	 */
	public void setInsuranceProductId(String insuranceProductId) {
		this.insuranceProductId = insuranceProductId;
	}

	/**
	 * @return the insuranceProductName
	 */
	public String getInsuranceProductName() {
		return insuranceProductName;
	}

	/**
	 * @param insuranceProductName
	 *            the insuranceProductName to set
	 */
	public void setInsuranceProductName(String insuranceProductName) {
		this.insuranceProductName = insuranceProductName;
	}

	/**
	 * @return the productCode
	 */
	public String getProductCode() {
		return productCode;
	}

	/**
	 * @param productCode
	 *            the productCode to set
	 */
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	/**
	 * @return the formerOrderId
	 */
	public String getFormerOrderId() {
		return formerOrderId;
	}

	/**
	 * @param formerOrderId
	 *            the formerOrderId to set
	 */
	public void setFormerOrderId(String formerOrderId) {
		this.formerOrderId = formerOrderId;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getLocalInsuranceNo() {
		return localInsuranceNo;
	}

	public void setLocalInsuranceNo(String localInsuranceNo) {
		this.localInsuranceNo = localInsuranceNo;
	}

	public String getPaymentPlatform() {
		return paymentPlatform;
	}

	public void setPaymentPlatform(String paymentPlatform) {
		this.paymentPlatform = paymentPlatform;
	}

	public String getSerialId() {
		return serialId;
	}

	public void setSerialId(String serialId) {
		this.serialId = serialId;
	}

	public String getPaymentTradeNo() {
		return paymentTradeNo;
	}

	public void setPaymentTradeNo(String paymentTradeNo) {
		this.paymentTradeNo = paymentTradeNo;
	}
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	
}
